
TEMPLATE = app
DESTDIR  = ../
TARGET = PBVP

CONFIG  += qt warn_off link_prl
QT += opengl network

HEADERS += downloadpdb.h maininterface.h plugin.h helpdialog.h mainwindow.h ZGLWidget.h
SOURCES += main.cpp mainwindow.cpp
SOURCES += downloadpdb.cpp  maininterface.cpp  ZGLWidget.cpp
FORMS = downloadpdb.ui  mainwindow.ui
DEPENDPATH += data datamanager getopts math renderer
INCLUDEPATH += ./contrib/glut

macx {
	INCLUDEPATH += ./contrib/macx/glew/include
	DEFINES += MACX_DEV
	LIBS += -framework GLUT
	LIBS += -L./contrib/macx/glew/lib/ -lGLEW ./data/libdata.a ./datamanager/libdatamanager.a \
			./getopts/libgetopts.a ./math/libmath.a ./renderer/librenderer.a
	}
	
linux {
	INCLUDEPATH += /home/xyzhang/src/glut-3.7/include/GL ./contrib/linux/glew/include
	LIBS += -L/lusr/lib/ -lglut -lGL -L./contrib/linux/glew/lib -lGLEW \
		-L./data/ -ldata -L./datamanager -ldatamanager \
		-L./getopts -lgetopts -L./math -lmath -L./renderer -lrenderer
	}
 
